package edu.cmu.cs.cs214.hw9.client.controllers.eventhandlers;

import edu.cmu.cs.cs214.hw9.client.controllers.FacelookController;
import edu.cmu.cs.cs214.hw9.client.gui.RegistrationScreen;

/**
 * Shows the registration page.
 */
public class GotoRegistrationHandler extends EventHandler {
	/**
	 * Set the current session controller to the provided controller.
	 * 
	 * @param controller Controller to associate with this event handler.
	 */
	public GotoRegistrationHandler(FacelookController controller) { super(controller); }
	
	/**
	 * Changes the screen to the registration page.
	 */
	public void handleEvent(Object param) {
		changeScreen(new RegistrationScreen());
	}
}
